package com.example.financechain.service;

import com.example.financechain.Utils.JsonData;
import com.example.financechain.domain.DTO.TransferDTO;
import com.example.financechain.domain.entity.Role;
import com.example.financechain.domain.entity.Transfer;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yy
 * @since 2023-04-23
 */
public interface ITransferService extends IService<Transfer> {


    JsonData transferfinance(TransferDTO transferDTO);

    Transfer createTransferOrder(Role from, Role to, TransferDTO transferDTO);
}
